/**
 * @description 商家入驻
 */
import style from './styles/App.less';

import React from 'react';
import EntryBase from "../Common/EntryBase";

import loadable from "commons/loadable";
import RouterNotMatch from "components/RouterNotMatch";
import { HashRouter, Route, Switch, Redirect } from 'react-router-dom';

class App extends EntryBase {
    constructor(props) {
        super(props);
        this.state = {}
    }
    render() {
        return (
            <HashRouter>
                <Switch>
                    <Route path="/Form" component={loadable(() => import("./Form"))} />
                    <Route path="/Result/:type" component={loadable(() => import("./Result"))} />
                    <Route path="*" component={RouterNotMatch} />
                </Switch>
            </HashRouter>
        )
    }
}

export default App;